package com.score.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
public class HomeController {
    @RequestMapping(path = "")
    public String redirect(){
        return "login";
    }
    @RequestMapping(path = "/index", method = RequestMethod.GET)
    public String getIndexPage() {
        return "/index";
    }
    @RequestMapping(path = "/selectDetails", method = RequestMethod.GET)
    public String getSelectDetailsPage() {
        return "/selectDetails";
    }
    @RequestMapping(path = "/login", method = RequestMethod.GET)
    public String login() {
        return "/login";
    }
}
